package com.fc.happyteam.entity;

import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Created by futurecreative on 2017/7/25.
 */
public class SysDictGroupEntity {

    private Integer id;

    @NotBlank(message="code不能为空")
    private String code;

    @NotBlank(message="name不能为空")
    private String name;

    private List<SysDictItemEntity> dictItemList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SysDictItemEntity> getDictItemList() {
        return dictItemList;
    }

    public void setDictItemList(List<SysDictItemEntity> dictItemList) {
        this.dictItemList = dictItemList;
    }
}
